﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDispatcher.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the IDispatcher type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Threading
{
    using System;

    public interface IDispatcher
    {
        void BeginInvoke(Action action);
        bool CheckAccess();
    }
}
